<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Third Party Services
    |--------------------------------------------------------------------------
    |
    | This file is for storing the credentials for third party services such
    | as Mailgun, Postmark, AWS and more. This file provides the de facto
    | location for this type of information, allowing packages to have
    | a conventional file to locate the various service credentials.
    |
    */

    'mailgun' => [
        'domain' => env('MAILGUN_DOMAIN'),
        'secret' => env('MAILGUN_SECRET'),
        'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
    ],

    'postmark' => [
        'token' => env('POSTMARK_TOKEN'),
    ],

    'ses' => [
        'key' => env('AWS_ACCESS_KEY_ID'),
        'secret' => env('AWS_SECRET_ACCESS_KEY'),
        'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
    ],
    // Showdoc 项目API
    'showdoc' => [
        'key' => env('SHOWDOC_API_KEY'),
        'token' => env('SHOWDOC_API_TOKEN'),
    ],
    // 闪验
    // 'shanyan' => [
    //     'app_id' => env('SHANYAN_APP_ID'),
    //     'app_key' => env('SHANYAN_APP_KEY'),
    // ],
    // 闪验
    'shanyans' => [
        'G8NmMA1F' => [
            'app_id' => 'G8NmMA1F',
            'app_key' => 'QBBjssdz',
        ],
    ],
    // 闪验手机号归属地
    'shanyanTelAddress' => [
        'app_id' => env('SHANYAN_TEL_ADDRESS_ID'),
        'app_key' => env('SHANYAN_TEL_ADDRESS_KEY'),
    ],
    'wechats' => [
        '88888888888' => [
            'client_id' => '88888888888',
            'client_secret' => '888888888888888888',
            'redirect' => '',
        ],
    ],
    'qqs' => [
        '101903591' => [
            'client_id' => '101903591',
            'client_secret' => 'xxxx',
            'redirect' => ''
        ],
    ],
    'alipays' => [
        '888888888888888888' => [
            'client_id' => '888888888888888888',
            'pid' => config('pay-channel.alipay.888888888888888888.mch_id'),
            'rsa_private_key' => config('pay-channel.alipay.888888888888888888.private_key'),
            'sandbox' => false,
        ],
    ],
    // 卡密
    'kami' => [
        'shop_id' => env('KAMI_SHOP_ID', ''),
        'user_id' => env('KAMI_USER_ID', ''),
        'key' => env('KAMI_KEY', ''),
    ],
    // 实名认证防沉迷
    'realname' => [
        'app_id' => env('REAL_NAME_APPID', ''),
        'biz_id' => env('REAL_NAME_BIZID', ''),
        'secret' => env('REAL_NAME_SECRET', ''),
    ],
    'ip138' => [
        'token' => env('IP138_TOKEN', ''),
    ],
    'kf53' => [
        'token' => env('KF53_TOKEN', ''),
        'client_url' => env('KF53_CLIENT_URL', ''),
    ],
    // 第三方检查
    'third_check' => [
        'shanyan_sdk_appid' => env('THIRD_CHECK_SHANYAN_SDK_APPID'),
    ],
];
